package yang.itcode.service;

import cn.hutool.json.JSONObject;
import com.github.pagehelper.PageInfo;

public interface PurchaseOrderService {
    boolean createPurchaseOrder(JSONObject form);

    PageInfo<JSONObject> getPurchaseOrderList(Integer pageNum, Integer pageSize, JSONObject condition);

    JSONObject getPurchaseOrderDetail(Integer id);

    boolean updatePurchaseOrder(JSONObject form);

    boolean redPurchaseOrder(Integer id);
}
